package com.bida.service;

import com.bida.domain.dto.ShoppingCartDTO;
import com.bida.domain.po.ShoppingCart;
import com.baomidou.mybatisplus.extension.service.IService;
import com.bida.result.Result;

import java.util.List;

/**
 * <p>
 * 购物车 服务类
 * </p>
 *
 * @author ly
 * @since 2024-09-07
 */
public interface IShoppingCartService extends IService<ShoppingCart> {

    Result addShoppingCartInfo(ShoppingCartDTO shoppingCartDTO);

    List<ShoppingCart> getShoppingCartList();

    void cleanShoppingCart();

    void subShoppingCart(ShoppingCartDTO shoppingCartDTO);
}
